package com.base.service.impl;

import com.base.mapper.voipmapper.GasRefundEjyMapper;
import com.base.po.voip.GasRefundEjy;
import com.base.po.voip.GasRefundEjyExample;
import com.base.service.GasRefundEjyService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("GasRefundEjyService")
public class GasRefundEjyServiceImpl implements GasRefundEjyService {
    @Autowired
    private GasRefundEjyMapper gasRefundEjyMapper;

    @Override
    public int countByExample(GasRefundEjyExample example) {
        return gasRefundEjyMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(GasRefundEjyExample example) {
        return gasRefundEjyMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return gasRefundEjyMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(GasRefundEjy record) {
        return gasRefundEjyMapper.insert(record);
    }

    @Override
    public int insertSelective(GasRefundEjy record) {
        return gasRefundEjyMapper.insertSelective(record);
    }

    @Override
    public List<GasRefundEjy> selectByExample(GasRefundEjyExample example) {
        return gasRefundEjyMapper.selectByExample(example);
    }

    @Override
    public GasRefundEjy selectByPrimaryKey(Integer id) {
        return gasRefundEjyMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(GasRefundEjy record, GasRefundEjyExample example) {
        return gasRefundEjyMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(GasRefundEjy record, GasRefundEjyExample example) {
        return gasRefundEjyMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(GasRefundEjy record) {
        return gasRefundEjyMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(GasRefundEjy record) {
        return gasRefundEjyMapper.updateByPrimaryKey(record);
    }

    @Override
    public GasRefundEjy selectByOrderId(String orderid) {
        return gasRefundEjyMapper.selectByOrderId(orderid);
    }

    @Override
    public int countBySubPage(String subid) {
        return gasRefundEjyMapper.countBySubPage(subid);
    }

    @Override
    public List<GasRefundEjy> selectBySubPage(Page page, String subid) {
        return gasRefundEjyMapper.selectBySubPage(page,subid);
    }
}
